# -*- coding: utf-8 -*-
# @Date：2024/7/18 19:55:03
# @Author：CJiaの青姝
# @FileName：choices
# @Editor：PyCharm2024
# @Remark：
# 性别：1-男 2-女 3-保密
GENDER_CHOICES = (
    (1, "男"),
    (2, "女"),
    (3, "保密"),
)

# 用户类型：0-后台用户 1-前台用户
USER_TYPE = (
    (0, "后台用户"),
    (1, "前台用户"),
)

# 是否外链 False-否 True-是
ISLINK_CHOICES = (
    (False, "否"),
    (True, "是"),
)

# 是否目录 False-菜单 True-目录
TYPE_CHOICES = (
    (False, "菜单"),
    (True, "目录"),
)

# 接口请求方法 1-GET 2-POST 3-PUT 4-DELETE
METHOD_CHOICES = (
    (1, "GET"),
    (2, "POST"),
    (3, "PUT"),
    (4, "DELETE"),
)

# 数据权限 1-仅本人数据权限 2-自定数据权限
DATASCOPE_CHOICES = (
    (1, "仅本人数据权限"),
    (2, "自定数据权限"),
)

# 是否显示 False-隐藏 True-显示
SHOW_CHOICES = (
    (False, "隐藏"),
    (True, "显示"),
)

# 是否是公共字段 False-否 True-是
COMMON_CHOICES = (
    (False, "否"),
    (True, "是"),
)
